<template>
    <div>
        <table>
            <tr>
                <td>用户名</td>
                <td>商品名称</td>
            </tr>
            <tr >
                <td>用户名</td>
                <td>商品名称</td> 
            </tr>
        </table>
    </div>
</template>

<script>
    export default {
        data() {
            return {
                mylist:[]
            }
        },
        methods: {
            //我的收藏列表
            getshoucang(){
                this.$axios.get('/myshoucang/?userid='+this.userid).then(res=>{
                    this.mylist = res.data.list
                })
            }
        },
        mounted() {
            this.getshoucang()
        },
    }
</script>

<style scoped>

</style>